package tag

import (
	"fmt"
	"strings"
)

const (
	SERVICE_ID = "tag"

	ACTION_CATEGORY = "tag"

	EPHEMERAL_TAG_PREFIX = "ephemeral"

	RESOURCE_CONFIG_TAG_PREFIX     = "resourceConfig"
	RESOURCE_CONFIG_CATEGORY_TOKEN = "category"
	RESOURCE_CONFIG_NAME_TOKEN     = "name"
	RESOURCE_CONFIG_VALUE_TOKEN    = "value"
)

func IsEphemeralTag(tag string) bool {
	return strings.HasPrefix(tag, fmt.Sprintf("%s::", EPHEMERAL_TAG_PREFIX))
}
